/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hydms.dormitory.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

/**
 * 宿舍信息Entity
 * @author 冉鑫
 * @version 2017-04-05
 */
public class DmsDormitory extends DataEntity<DmsDormitory> {
	
	private static final long serialVersionUID = 1L;
	private String floor;		// 楼号
	private String floorNumber;		// 楼层
	private String dormitoryNumber;		// 宿舍号
	private String bed;		// 床
	private String desk;		// 桌子
	private String chair;		// 椅子
	private String airConditioning;		// 空调
	private String washingMachine;		// 洗衣机
	private String roomBed;		// 空床位
	private String electricFan;		// 电风扇
	private String cabinet;		// 柜子
	private String fee;		// 住宿费
	
	

	public String getFee() {
		return fee;
	}

	public void setFee(String fee) {
		this.fee = fee;
	}

	public DmsDormitory() {
		super();
	}

	public DmsDormitory(String id){
		super(id);
	}

	@Length(min=0, max=20, message="楼号长度必须介于 0 和 20 之间")
	@ExcelField(title="楼号", type=0,align=2, sort=10)
	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}
	
	@Length(min=0, max=20, message="楼层长度必须介于 0 和 20 之间")
	public String getFloorNumber() {
		return floorNumber;
	}

	public void setFloorNumber(String floorNumber) {
		this.floorNumber = floorNumber;
	}
	
	@Length(min=0, max=20, message="宿舍号长度必须介于 0 和 20 之间")
	@ExcelField(title="宿舍号", type=0,align=2, sort=20)
	public String getDormitoryNumber() {
		return dormitoryNumber;
	}

	public void setDormitoryNumber(String dormitoryNumber) {
		this.dormitoryNumber = dormitoryNumber;
	}
	
	@Length(min=0, max=10, message="床长度必须介于 0 和 10 之间")
	@ExcelField(title="床", type=0,align=2, sort=30)
	public String getBed() {
		return bed;
	}

	public void setBed(String bed) {
		this.bed = bed;
	}
	
	@Length(min=0, max=10, message="桌子长度必须介于 0 和 10 之间")
	@ExcelField(title="桌子", type=0,align=2, sort=40)
	public String getDesk() {
		return desk;
	}

	public void setDesk(String desk) {
		this.desk = desk;
	}
	
	@Length(min=0, max=10, message="椅子长度必须介于 0 和 10 之间")
	@ExcelField(title="椅子", type=0,align=2, sort=50)
	public String getChair() {
		return chair;
	}

	public void setChair(String chair) {
		this.chair = chair;
	}
	
	@Length(min=0, max=10, message="空调长度必须介于 0 和 10 之间")
	@ExcelField(title="空调", type=0,align=2, sort=60)
	public String getAirConditioning() {
		return airConditioning;
	}

	public void setAirConditioning(String airConditioning) {
		this.airConditioning = airConditioning;
	}
	
	@Length(min=0, max=10, message="洗衣机长度必须介于 0 和 10 之间")
	@ExcelField(title="洗衣机", type=0,align=2, sort=70)
	public String getWashingMachine() {
		return washingMachine;
	}

	public void setWashingMachine(String washingMachine) {
		this.washingMachine = washingMachine;
	}
	
	@Length(min=0, max=10, message="空床位长度必须介于 0 和 10 之间")
	@ExcelField(title="空床位", type=0,align=2, sort=80)
	public String getRoomBed() {
		return roomBed;
	}

	public void setRoomBed(String roomBed) {
		this.roomBed = roomBed;
	}
	
	@Length(min=0, max=10, message="电风扇长度必须介于 0 和 10 之间")
	@ExcelField(title="电风扇", type=0,align=2, sort=90)
	public String getElectricFan() {
		return electricFan;
	}

	public void setElectricFan(String electricFan) {
		this.electricFan = electricFan;
	}
	
	@Length(min=0, max=10, message="柜子长度必须介于 0 和 10 之间")
	@ExcelField(title="柜子", type=0,align=2, sort=100)
	public String getCabinet() {
		return cabinet;
	}

	public void setCabinet(String cabinet) {
		this.cabinet = cabinet;
	}
	
}